package com.ikas.ai.framework.statistics.function;

import com.ikas.ai.framework.statistics.StatisticType;

/**
 * @Description: 计算函数
 *  <p>
 *      I 输入参数
 *      T1, T2 中间变量,
 *      O 输出参数
 *  </p>
 *
 * @Author: qi.yilai
 * @Date: 2023/10/27 17:26
 * @Version: 1.0.0
 **/
public interface CalcFunction<I, T1, T2, O> {

    O calculate(I i);

    O calculate(I i, T1 t1, T2 t2);

    StatisticType type();
}
